import request from '@/utils/request'

export function getactivityList (params) {
  return request({
    url: '/admin/admin_activity_list',
    method: 'get',
    params: params
  })
}
export function getactivitydata (params) {
  return request({
    url: '/admin/share_activity_data',
    method: 'get',
    params: params
  })
}
export function getadoptgoods (params) {
  return request({
    url: '/admin/get_adopt_goods',
    method: 'get',
    params: params
  })
}
export function getactivitytitle (params) {
  return request({
    url: '/admin/get_activity_info',
    method: 'get',
    params: params
  })
}
export function getunionuser (params) {
  return request({
    url: '/admin/get_union_user',
    method: 'get',
    params: params
  })
}
export function doaddactivity (params) {
  return request({
    url: '/admin/add_activity',
    method: 'post',
    params: params
  })
}
export function getexaminegoods (params) {
  return request({
    url: '/admin/get_examine_goods',
    method: 'get',
    params: params
  })
}
export function doexaminegoods (params) {
  return request({
    url: '/admin/examine_goods',
    method: 'post',
    params: params
  })
}
export function getcommission (params) {
  return request({
    url: '/api/get_goods_commission',
    method: 'get',
    params: params
  })
}
export function getmyactivedata (params) {
  return request({
    url: '/admin/get_admin_activity_data',
    method: 'get',
    params: params
  })
}
export function getextensioneffectdata (params) {
  return request({
    url: '/admin/extension_effect_data',
    method: 'get',
    params: params
  })
}
export function getlinkurl (params) {
  return request({
    url: '/admin/success_goods_get_link',
    method: 'get',
    params: params
  })
}
